package Day7;

public class Pilot {
    private String name;

    public Pilot(String name) {
        this.name = name;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }
    public void drive(Aircraft plane){
        System.out.println("驾驶员"+getName());

    }
}
